<div class="row">
	<div class="col-md-12">
		<div class="box-body  no-padding">
			<form id="" class="form-horizontal">
				<div class="form-group">
					<label id="blogTagNameLabel" for="blogTagName" class="col-sm-2 control-label">名称</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="name" id="blogTagName" value="${blogTag.name}" placeholder="输入名称...">
					</div>
				</div>
				<div class="form-group">
					<label id="blogTagWhetherNewLabel" for="blogTagWhetherNew" class="col-sm-2  control-label">是否最新</label>
					<div class="col-sm-4">
						<select class="form-control" id="blogTagWhetherNew"  name="whetherNew"   style="width: 100%;" placeholder="选择是否最新...">
						</select>
					</div>
					<label id="blogTagWhetherHotLabel" for="blogTagWhetherHot" class="col-sm-2  control-label">是否最热</label>
					<div class="col-sm-4">
						<select class="form-control" id="blogTagWhetherHot"  name="whetherHot"  style="width: 100%;" placeholder="选择是否最热...">
						</select>
					</div>
				</div>
				<div class="form-group">
					<label id="blogTagSortOrderLabel" for="blogTagSortOrder" class="col-sm-2  control-label">排列序号</label>
					<div class="col-sm-4">
						<input  class="form-control" name="sortOrder" id="blogTagSortOrder" value="${blogTag.sortOrder}"  type="number" placeholder="输入排列序号...">
					</div>
					<label id="blogTagStatusLabel" for="blogTagStatus" class="col-sm-2  control-label">状态</label>
					<div class="col-sm-4">
						<select class="form-control" id="blogTagStatus"  name="status"  style="width: 100%;" placeholder="选择状态...">
						</select>
					</div>
				</div>
				<div class="form-group">
					<label id="blogTagRemarkLabel" class="col-sm-2 control-label">备注</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" name="remark" id="blogTagRemark" value="${blogTag.remark}" placeholder="输入备注...">
					</div>
				</div>
			</form>
		</div>
		<div class="box-footer">
			<div class="pull-right">
				<button type="button" class="btn btn-default btn-sm" id="close" data-dismiss="modal"><i class="fa fa-close"></i>关闭</button>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">

    $(function() {
        $("#blogTagStatus").select2({
            data: StatusStore,
            theme: "bootstrap"
        }).val('${blogTag.status}').trigger("change");
        $("#blogTagWhetherNew").select2({
            data: WhetherStore,
            theme: "bootstrap"
        }).val('${blogTag.whetherNew}').trigger("change");
        $("#blogTagWhetherHot").select2({
            data: WhetherStore,
            theme: "bootstrap"
        }).val('${blogTag.whetherHot}').trigger("change");
    });
</script>

